package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.domain.Dish;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 七安
* @description 针对表【dish(菜品管理)】的数据库操作Service
* @createDate 2022-08-09 19:59:19
*/
public interface DishService extends IService<Dish> {

    Page<Dish> findPage(Integer page,Integer pageSize,String name);

    void saveDish(Dish dish);

    void updateDish(Dish dish);

    void deleteByIds(List<Long> ids);

    List<Dish> findDish(Long categoryId, Integer status);
}
